const state = {
    name:window.sessionStorage.getItem('nowName') || '北京',
	cityId:window.sessionStorage.getItem('nowCityId') || 110100
};

const mutations = {
	CITY_INFO(state,paylod){
		state.name = paylod.name,
		state.cityId = paylod.cityId
	}
};

const actions = {

};

export default {
    namespaced:true,
	state,
	actions,
	mutations
}
